package com.bang.sgg.persist.model;

import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
import java.util.Date;

@Document(indexName = "agent",type = "agent")
public class AgentSeat implements Serializable {
    private static final long serialVersionUID = -7136783365032482393L;

    private Long id;

    private String seatCode;

    private Long depId;

    private Long employeeId;

    private Long createUser;

    private Date createTime;

    private Long updateUser;

    private Date updateTime;

    private Integer cleanUpTime;

    private Integer isRecord;

    private Integer isPopUp;

    private Integer flag;

    private Long lineId;

    private String extCode;

    private String extPass;

    private Integer type;

    private Integer status;

    private Integer lineType;

    private Long repeatersId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSeatCode() {
        return seatCode;
    }

    public void setSeatCode(String seatCode) {
        this.seatCode = seatCode == null ? null : seatCode.trim();
    }

    public Long getDepId() {
        return depId;
    }

    public void setDepId(Long depId) {
        this.depId = depId;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCleanUpTime() {
        return cleanUpTime;
    }

    public void setCleanUpTime(Integer cleanUpTime) {
        this.cleanUpTime = cleanUpTime;
    }

    public Integer getIsRecord() {
        return isRecord;
    }

    public void setIsRecord(Integer isRecord) {
        this.isRecord = isRecord;
    }

    public Integer getIsPopUp() {
        return isPopUp;
    }

    public void setIsPopUp(Integer isPopUp) {
        this.isPopUp = isPopUp;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Long getLineId() {
        return lineId;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
    }

    public String getExtCode() {
        return extCode;
    }

    public void setExtCode(String extCode) {
        this.extCode = extCode == null ? null : extCode.trim();
    }

    public String getExtPass() {
        return extPass;
    }

    public void setExtPass(String extPass) {
        this.extPass = extPass == null ? null : extPass.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getLineType() {
        return lineType;
    }

    public void setLineType(Integer lineType) {
        this.lineType = lineType;
    }

    public Long getRepeatersId() {
        return repeatersId;
    }

    public void setRepeatersId(Long repeatersId) {
        this.repeatersId = repeatersId;
    }

    @Override
    public String toString() {
        return "AgentSeat{" +
                "id=" + id +
                ", seatCode='" + seatCode + '\'' +
                ", depId=" + depId +
                ", employeeId=" + employeeId +
                ", createUser=" + createUser +
                ", createTime=" + createTime +
                ", updateUser=" + updateUser +
                ", updateTime=" + updateTime +
                ", cleanUpTime=" + cleanUpTime +
                ", isRecord=" + isRecord +
                ", isPopUp=" + isPopUp +
                ", flag=" + flag +
                ", lineId=" + lineId +
                ", extCode='" + extCode + '\'' +
                ", extPass='" + extPass + '\'' +
                ", type=" + type +
                ", status=" + status +
                ", lineType=" + lineType +
                ", repeatersId=" + repeatersId +
                '}';
    }
}